Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for testing fresh install as well as upgrade. #173

Merged
merged 2 commits into from
Jun 28, 2017

Conversation

jpwhite4
Copy link
Member

Description

Shippable tests now run two scenarios:

  • A fresh rpm install of XDMoD
  • An upgrade of XDMoD from the most recent production release

Tests performed

yes

@jpwhite4 jpwhite4 requested a review from jtpalmer June 27, 2017 20:17
rpm -qa | grep ^xdmod | xargs rpm --erase
rm -rf /etc/xdmod
rm -rf /var/lib/mysql
rpm -ivh ~/rpmbuild/RPMS/*/*.rpm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be switched to yum


if [ "$XDMOD_TEST_MODE" = "fresh_install" ];
then
rpm -qa | grep ^xdmod | xargs rpm --erase
Copy link
Contributor

@plessbd plessbd Jun 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be yum at least the rpm --erase part

@jpwhite4 jpwhite4 merged commit 5594794 into ubccr:xdmod7.0 Jun 28, 2017
@jpwhite4 jpwhite4 deleted the xdmodsetup branch June 28, 2017 17:26
@tyearke tyearke added the qa label Aug 14, 2017
@tyearke tyearke added this to the v7.0.0 milestone Aug 14, 2017
@plessbd plessbd added the qa / testing Updates/additions to tests label Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qa / testing Updates/additions to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants